boot.initrd.luks.devices.<name>.keyFileSize
The size of the key file. Use this if only the beginning of the
key file should be used as a key (often the case if a raw device
or partition is used as key file). If not specified, the whole
keyFile will be used decryption, instead of just
the first keyFileSize bytes.
- Type
null or signed integer- Default
null- Example
4096- Declared
- <nixpkgs/nixos/modules/system/boot/luksroot.nix>